Trick for Fast Calculation